<div class="st-c-hmeio">
    <ul>
        <li><a href="<?php echo $this->urlbase."/dicas"; ?>" urlimg="dicas"class="dicas efeitoBtn" ></a></li>
        <li><a href="<?php echo $this->urlbase."/calendario"; ?>" urlimg="calendario" class="calendario efeitoBtn"></a></li>
        <li><a href="<?php echo $this->urlbase."/leituras"; ?>" urlimg="leituras" class="leituras efeitoBtn"></a></li>
        <li><a href="<?php echo $this->urlbase."/galeria"; ?>" urlimg="galeria" class="galeria efeitoBtn"></a></li>
    </ul>    
</div>  

<ul class="st-c-hlistb">
    <?php
    $count = 0;
    foreach($this->minibaner as $m){
        $img = 'public/upload/minibanner/'.$m->BAN_ID.'.*';
         foreach (glob($img) as $src) {
            $img = $src;
        }
        $count++;
    ?>
    <li><a href="<?php echo $m->BAN_LNK;?>"><img src="<?php echo $img;?>" width="390px" height="200px" /></a></li>
    <?php } 
    if($count % 2 != 0){?>
    <li><a href="<?php echo $this->urlbase."/calendario"; ?>"><img src="public/upload/minibanner/cal_provas.png" width="390px" height="200px" /></a></li>
    <?php
        }
    ?>
</ul>

<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fproneneco&amp;width=800&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=false&amp;appId=142491082620110" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:790px; height:258px; margin-top: 20px;" allowTransparency="true"></iframe>


